package com.mySchool.service;

import com.mySchool.entity.DTO.*;
import com.mySchool.entity.PageResult;
import org.springframework.stereotype.*;

import java.util.*;

/**
* @author : Hinton
* @date : 2024/10/18 上午9:29
*/
@Service
public interface BookService {


    /**
     * 新增书本
     * @param request
     * @return
     */
    BookInsertResponse insert(BookInsertRequest request);

    /**
     * @param request
     * @return 返回新增的数据
     */
    void update(BookUpdateRequest request);

    /**
     * 查询书的上层信息
     * @param request
     * @return
     */
    PageResult<BookDetailResponse> queryHigher(BookDetailQueryRequest request);



    void delete(List<Integer> ids);
}
